package Java继承;

public class Admin3 extends Person3 {
    private String department;

    public Admin3(String address, String department) {
        super();
        super.address = address;
        this.department = department;
    }

    @Override
    public void work() {
        super.work();
        System.out.println("在" + department + "行政");
    }
}